﻿@model MVC.Models.LevaCrianca

@{
    ViewBag.Title = "ApagarLevaCriancas";
    int id =ViewBag.ID;
    
}

<h2>ApagarLevaCriancas</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>LevaCrianca</legend>

    <div class="display-label">NomePessoa</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NomePessoa)
    </div>

    <div class="display-label">BI</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.BI)
    </div>

     
</fieldset>
@using (Html.BeginForm()) {
    <p>
   <input type=hidden name=idBack id=idBack value='@id.ToString()' />  
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back", "ListarLevaCriancas", new { id = id })
    </p>
}
